export default {
    directiveName: 'permision',
    options: {
        inserted(el,binding) {
            if (binding.value !== 'admin') {
                el.parentElement.removeChild(el);
            }
        }
    }
}